package cn.iocoder.yudao.module.famous.doctor.controller.app.performance.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 绩效管理-绩效表头
 *
 * @author wyx
 * @since 2021-08-16
 */
@Data
@Schema( description="绩效管理-绩效表头")
public class PerformanceHead implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目code
     */
    @Schema(description = "项目code")
    @TableField("`key`")
    private String key;

    @Schema(description = "业务名称")
    private String name;

    @Schema(description = "备注")
    private String remake;

    @Schema(description = "状态 0停用 1正常")
    private Integer status;

    @TableLogic
    @Schema(description = "是否删除 1删除 0未")
    private Integer isDel;

    @Schema(description = "编辑人id")
    private Long modifiedUserId;

    @Schema(description = "编辑人名称")
    private String modifiedUserName;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;
}
